import Router from 'koa-router'
import loginController from '@/api/LoginController'

const router = new Router()

router.prefix('/login')

router.post('/forget', loginController.forget)
router.post('/login', loginController.login)
router.post('/regist', loginController.regist)
router.post('/reset', loginController.reset)

router.get('/test', loginController.test)

export default router
